package com.client;

public class ClientMain {
	private static int port;
	private static String hostName;
	static {
		port = Integer.parseInt(Prop.getConf().getProperty("SERVERPORT", Prop.DEFAULT_PORT));
		hostName = Prop.getConf().getProperty("SERVERHOST", Prop.DEFAULT_HOST);
	}

	public static void main(String[] args) {
		bootStrap();

	}

	private static void bootStrap() {
		Client client = new Client();
		client.setServerHost(hostName);
		client.setServerPort(port);
		client.chat();

	}
}
